<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<style type="text/css">
        td{
        	width:100px;height:30px;
        }
	</style>
</head>
<body>

    fdgzdfgzdfhgfhgfg

    
    <table border="1">
       <tr>
    		<td>姓名</td>
    		<td>身高</td>
    		<td>职位</td>
    		<td>操作</td>
    	</tr>

        <?php foreach ($arr as $key=>$value){ ?>              	 
            <tr <?php  if($key==1){ echo 'bgcolor="red"';}?>>
	    		<td><?php echo $value['name']; ?></td>
	    		<td><?php echo $value['height']; ?></td>
	    		<td><?php echo $value['job']; ?></td>
	    		<td><a href="link.php?id=<?php echo $key ?>">详情</a></td>
    	    </tr>         
        <?php } ?>

    </table>
    	<!-- <tr>
    		<td>姓名</td>
    		<td>身高</td>
    		<td>职位</td>
    	</tr>
    	<tr>
    		<td></td>
    		<td></td>
    		<td></td>
    	</tr>
    	<tr>
    		<td></td>
    		<td></td>
    		<td></td>
    	</tr> -->




  
	
</body>
</html>